/**
 * 27/ott/2011
 */
package edu.android;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

/**
 * @author fabiomelillo@gmail.com
 *
 */
public class TabLayout extends TabActivity {
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		
		TabHost host=getTabHost();
		host.addTab(host.newTabSpec("insert").setIndicator("Inserisci Film").setContent(new Intent(this, MyMovies.class)));
		host.addTab(host.newTabSpec("list").setIndicator("Lista Film").setContent(new Intent(this, MoviesList.class)));
//		host.addTab(host.newTabSpec("list").setIndicator("Cerca Film").setContent(new Intent(this, ContentUse.class)));
		
		
	}

}
